//权限菜单
export const asyncRouterMap = [
    {
      path: '/index',
      name:'dashboard',
      meta:{ name: '首页'},
      component: (resolve) => require(['@/views/layout/tablayout.vue'], resolve),
      children:[]
    },
    {
        path: '*', redirect: '/404', hidden: true
    }
  ]

  
//基础路由
export const constantRouterMap = [
  {
    path:'/',
    component: (resolve) => require(['@/views/login/login.vue'], resolve),
  },
    {
      path: '/login',
      component: (resolve) => require(['@/views/login/login.vue'], resolve),
      hidden:true,
      children:[
        {
          path:'login',
          name:'login',
          component: (resolve) => require(['@/views/login/login.vue'], resolve),
        }
      ]
    }
  ]
